org.bootchart.parser.solaris
Class DTraceParser
java.lang.Object
org.bootchart.parser.solaris.DTraceParser
public class DTraceParser
- extends Object
DTraceParser parses log files produced with the bootchart DTrace script
for Solaris 10. The D script produces a single log file containing
process execution, CPU scheduler and disk I/O information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTraceParser
public DTraceParser()
parseLog
public static BootStats parseLog(InputStream is,
String monitoredApp,
boolean prune)
throws IOException
- Parses the
dtrace log file.
- Parameters:
is - the input stream to parseprune - whether to prune the treemonitoredApp - monitored application (or null if
the boot process is profiled)
- Returns:
- boot statistics
- Throws:
IOException - if an I/O error occurs